package data;

import java.io.Serializable;
import annotation.*;

@Table (name="posologie")
public class Posologie extends Data implements Serializable {

	/**
	 * 
	 */
	@Ignore
	private static final long serialVersionUID = -8220837961101739700L;
	@Id (autoIncrement=false)
	private String id_ordonnance;
	@Id (autoIncrement=false)
	private String id_medicament;
	private String quantite_posologie;
	private String frequence_posologie;
	
	public Posologie(String id_ordonnance, String id_medicament,
			String quantite_posologie, String frequence_posologie) {
		super();
		this.id_ordonnance = id_ordonnance;
		this.id_medicament = id_medicament;
		this.quantite_posologie = quantite_posologie;
		this.frequence_posologie = frequence_posologie;
	}

	public Posologie() {
		super();
	}

	public String getId_ordonnance() {
		return id_ordonnance;
	}

	public void setId_ordonnance(String id_ordonnance) {
		this.id_ordonnance = id_ordonnance;
	}

	public String getId_medicament() {
		return id_medicament;
	}

	public void setId_medicament(String id_medicament) {
		this.id_medicament = id_medicament;
	}

	public String getQuantite_posologie() {
		return quantite_posologie;
	}

	public void setQuantite_posologie(String quantite_posologie) {
		this.quantite_posologie = quantite_posologie;
	}

	public String getFrequence_posologie() {
		return frequence_posologie;
	}

	public void setFrequence_posologie(String frequence_posologie) {
		this.frequence_posologie = frequence_posologie;
	}
	
}
